﻿using System;
using Abp.Domain.Entities.Auditing;

namespace LeadThing.AbpZeroTemplate.Articles
{
    /// <summary>
    /// 文章
    /// </summary>
    public class Article : FullAuditedEntity<long>
    {
        /// <summary>
        /// 类别ID
        /// </summary>
        public int CategoryId { get; set; }

        /// <summary>
        /// 调用别名
        /// </summary>
        public string CallIndex { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 外部链接
        /// </summary>
        public string LinkUrl { get; set; }

        /// <summary>
        /// 文件ID
        /// </summary>
        public int FileID { get; set; }

        /// <summary>
        /// SEO标题
        /// </summary>
        public string SeoTitle { get; set; }

        /// <summary>
        /// SEO关健字
        /// </summary>
        public string SeoKeyWords { get; set; }

        /// <summary>
        /// SEO描述
        /// </summary>
        public string SeoDescription { get; set; }

        /// <summary>
        /// 内容摘要
        /// </summary>
        public string ContentAbstract { get; set; }

        /// <summary>
        /// 详细内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int SortId { get; set; }

        /// <summary>
        /// 浏览次数
        /// </summary>
        public int Click { get; set; }

        /// <summary>
        /// 状态0正常1未审核2锁定
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 是否允许评论
        /// </summary>
        public bool IsMsg { get; set; }

        /// <summary>
        /// 是否置顶
        /// </summary>
        public bool IsTop { get; set; }

        /// <summary>
        /// 是否推荐
        /// </summary>
        public bool IsRed { get; set; }

        /// <summary>
        /// 是否热门
        /// </summary>
        public bool IsHot { get; set; }

        /// <summary>
        /// 是否幻灯片
        /// </summary>
        public bool IsSlide { get; set; }

        /// <summary>
        /// 是否管理员发布0不是1是
        /// </summary>
        public bool IsSys { get; set; }

        /// <summary>
        /// 喜欢数量
        /// </summary>
        public int LikeCount { get; set; }

        /// <summary>
        /// 发布人
        /// </summary>
        public string Publisher { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }
    }
}
